Cycle Setup - Tomcat
-
Create a directory on the Tomcat server to store various configuration files for OIPA (i.e., /Tomcat/shared or C:\Tomcat\shared).
-
Create subdirectories inside the directory from Step 1 called conf and lib.
-
Copy CycleWeb-Tomcat.war file from the OIPA distribution zip file into the webapps subdirectory of Tomcat server (Example: /Tomcat/webapps or D:\Tomcat\webapps).
-
Rename the war to CycleService.war.
-
The coherence version that runs on Tomcat-10.x is Coherence CE 22.06.12. Make sure you copy the latest following configuration files from Cycle distribution zip/conf directory into the \shared\conf directory under Tomcat server(This step is extremely important):
-
cycle-coherence-cache-config.xml
-
cycle-coherence-config.xml
-
Cycle.properties
-
logging.properties
-
dataIntake-spring-beans-true.xml
-
dataIntake-spring-beans-false.xml
-
cycle-spring-beans.xml
-
-
Copy the database drivers into lib directory of Tomcat (%Tomcat_Home%/lib) folder.
-
Oracle – No need to copy this jar. The necessary driver, ojdbc17-23.6.0.24.10.jar, is included in the WEB-INF lib directory of the war.
Note: Version 26.1.0.0 is also supported on Oracle 19c, which is LTS (Long Term Support). If Oracle 19c is used, the corresponding supported ojdbc driver version shipped with Oracle database should be used in the step above.
-
Microsoft SQL Server – Use the compatible jdbc driver shipped with MS SQL Server software. These files are not available for download. Contact your IT department if you need assistance locating these files.
-
IBM DB2 – Use the compatible jdbc driver shipped with DB2 software. These files are not available for download. Contact your IT department if you need assistance locating these files.
-
-
Use a text editor to open the Cycle.properties file that you just copied to the server. The Cycle.properties file contains properties for Oracle, SQL Server and DB2 database types, with the Oracle settings active by default. The inactive settings are commented out with a '#' character at the start of each line. To change a setting, remove the '#' from the required property setting, and insert it at the beginning of the setting you want to de-activate.
-
The properties setting must match the type of database being used.
Note: Refer to the latest System Properties document in the Oracle Insurance Policy Administration Documentation Library published on the OHC for a complete list of all properties and allowed values.
-
application.databaseType
-
jpa.databasePlatform
-
-
Identify the default locale in the Cycle.properties file. The locale selected will determine the translation that is loaded in the database for Cycle when it launches.
-
application.defaultLocale
-
-
Use a text editor to open the logging.properties file that you just copied to the server. Edit the path mention for property "java.util.logging.FileHandler.pattern" with new application log location i.e. if application log location is /home/OIPA/logs then set this value as java.util.logging.FileHandler.pattern = %h/Cycle/logs/cycle%u.log. Also same time make sure that directory is created and has r/w permission.